package edu.njust.Service.user;

import edu.njust.domain.user.User;

import java.sql.Date;
import java.util.List;

public interface UserService {
    public User getUserByID(int id,String pwd);
    List<User> getUsers();
    boolean addUser(User user);

    boolean updateUserPwd(User user);

    boolean updateUserOther(User user);
    public boolean deleteUser(int CM_ID, String CM_PWD, String modifiedUser, Date modifiedTime);
}
